Federico Mena Quintero [Wed, 5 Dec 2012 00:18:32 +0000 (18:18 -0600)]
Use the right signal id
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Wed, 5 Dec 2012 00:09:38 +0000 (18:09 -0600)]
Removed unneeded signal initiated-unmount
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Wed, 5 Dec 2012 00:08:52 +0000 (18:08 -0600)]
Oops, forgot to commit this header file.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Tue, 4 Dec 2012 23:37:45 +0000 (17:37 -0600)]
Oops, signals returning an int must be G_SIGNAL_RUN_LAST
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Tue, 4 Dec 2012 22:16:49 +0000 (16:16 -0600)]
Port code to add a bookmark for a volume
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Tue, 4 Dec 2012 18:57:48 +0000 (12:57 -0600)]
New API to set whether URI drops are accepted
The file chooser will not accept dropping URIs in a shortcut item. However, Nautilus will,
to perform normal DnD for files.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Tue, 4 Dec 2012 18:52:44 +0000 (12:52 -0600)]
Emit drag-perform-drop when we need the caller to do the drop action
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Tue, 4 Dec 2012 18:44:46 +0000 (12:44 -0600)]
New signal drag-perform-drop
The caller is supposed to take action with the specified URIs.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Tue, 4 Dec 2012 00:15:41 +0000 (18:15 -0600)]
New signal drag-action-ask
We'll ask the caller to present a popup menu (or whatever) with the possible drag actions.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Mon, 3 Dec 2012 23:37:11 +0000 (17:37 -0600)]
Emit drag-action-requested and feed the result to gdk_drag_status()
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Mon, 3 Dec 2012 23:09:57 +0000 (17:09 -0600)]
New signal drag-action-requested
We'll use this signal to ask the caller about what drag action to indicate
when something is being hovered on an item in the places sidebar.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Mon, 3 Dec 2012 22:45:25 +0000 (16:45 -0600)]
Free URI lists
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Mon, 3 Dec 2012 22:41:02 +0000 (16:41 -0600)]
Rename function for clarity
build_selection_list() -> build_uri_list()
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Fri, 30 Nov 2012 17:08:08 +0000 (11:08 -0600)]
Remove the menu items to select recent-files or CWD
Per the gtk-devel meeting on 2012/11/29, we'll not have a UI in the file chooser dialog
to select between those modes. Instead, we'll show that key in gtweaktool.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Tue, 27 Nov 2012 02:43:23 +0000 (20:43 -0600)]
Ahem, read radio menu items like I knew how to do it
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Sat, 24 Nov 2012 17:18:23 +0000 (11:18 -0600)]
Restore the originally-selected location when dynamically updating the bookmarks
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Sat, 24 Nov 2012 16:59:48 +0000 (10:59 -0600)]
Oops, actually update the internal location of the places sidebar prior to notifying the caller
This is so that the sidebar will already know the URI of the location it is showing. When
the caller asks the sidebar to change back to the same location, the call will be idempotent.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Sat, 24 Nov 2012 16:41:40 +0000 (10:41 -0600)]
Highlight the currently-viewed location in the places sidebar
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Sat, 24 Nov 2012 16:41:11 +0000 (10:41 -0600)]
Turn gtk_places_sidebar_set_current_uri() into _set_current_location()
To be consistent with the ::location-selected signal, which emits a GFile, we now also use a GFile
instead of a string URI in the inbound API.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Fri, 23 Nov 2012 19:24:55 +0000 (13:24 -0600)]
Actually switch to recent:/// in its key shortcut handler
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Fri, 23 Nov 2012 18:53:35 +0000 (12:53 -0600)]
Allow switching to recent:/// even though GIO thinks it is not a native file
That URI is not a native file, and so it would not show up if local_only=TRUE.
Add a special case for it so that recent:/// can always be visited.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Wed, 21 Nov 2012 19:13:01 +0000 (13:13 -0600)]
Update the widgets until all of them have been created
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Wed, 21 Nov 2012 18:08:23 +0000 (12:08 -0600)]
Add menu items to the places sidebar to configure the startup mode
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Wed, 21 Nov 2012 16:40:34 +0000 (10:40 -0600)]
Switch to Recent Files or $CWD at startup
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Wed, 21 Nov 2012 16:28:26 +0000 (10:28 -0600)]
Add a new org.gtk.SettingsFileChooser startup-mode settings key
It has two possible values, 'recent' and 'cwd'. We will use these to determine
whether to set the default starting mode, if a folder has not been pre-set,
to showing the Recent Files list or the current working directory.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Wed, 21 Nov 2012 02:04:20 +0000 (20:04 -0600)]
New way to show in the sidebar
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Tue, 30 Oct 2012 00:57:24 +0000 (18:57 -0600)]
Note about missing empty-trash functionality when unmounting a volume.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Tue, 30 Oct 2012 00:53:41 +0000 (18:53 -0600)]
Fix code to unmount volumes
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Mon, 29 Oct 2012 20:28:12 +0000 (14:28 -0600)]
Copy code from Nautilus to mount volumes
Instead of having a nested-callback scheme (to preserve internal API compatibility),
we use a direct callback from g_volume_mount().
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Mon, 29 Oct 2012 17:52:34 +0000 (11:52 -0600)]
Set GTK_STYLE_CLASS_SIDEBAR on the sidebar
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Fri, 26 Oct 2012 23:53:09 +0000 (18:53 -0500)]
Remove some more comments on things that Nautilus needs to do
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Fri, 26 Oct 2012 18:05:56 +0000 (13:05 -0500)]
Remove some notes on things that Nautilus should do but already does
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Mon, 22 Oct 2012 23:21:17 +0000 (18:21 -0500)]
Add a show-file-properties signal for Nautilus to use
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Mon, 22 Oct 2012 22:53:32 +0000 (17:53 -0500)]
Note on more things that Nautilus needs to do
Federico Mena Quintero [Mon, 22 Oct 2012 22:52:27 +0000 (17:52 -0500)]
Present error dialogs from the places sidebar
Federico Mena Quintero [Sat, 20 Oct 2012 19:09:34 +0000 (14:09 -0500)]
Oops, reorder the bookmarks list correctly
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Sat, 20 Oct 2012 19:00:50 +0000 (14:00 -0500)]
Enable code to reorder bookmarks by dragging
Federico Mena Quintero [Sat, 20 Oct 2012 18:34:23 +0000 (13:34 -0500)]
Sync from Nautilus commit
b72d57b038e50172fac2fafdc6c26660378aab34
No changes (except a whitespace fix), for we already had a copy of
special_directory_get_gicon().
Federico Mena Quintero [Fri, 19 Oct 2012 17:26:40 +0000 (12:26 -0500)]
Add comment about missing way to get symbolic icons for bookmarks
Nautilus got the ability to do that in commit
0ed400b9c1692e42498bff3c10780073ec137f63.
Maybe we should just copy that code to here later.
Cosimo Cecchi [Fri, 19 Oct 2012 17:14:21 +0000 (12:14 -0500)]
Sync from Nautilus: bookmark: remove unused GIcon argument to nautilus_bookmark_new()
We always pass NULL these days.
This is from nautilus commit
7aad4a33814e6e7fae5e762882db43452a575a83
William Jon McCann [Fri, 19 Oct 2012 17:12:19 +0000 (12:12 -0500)]
Sync from Nautilus - Fix leaks
https://bugzilla.gnome.org/show_bug.cgi?id=683769
This is from nautilus commit
a755aa27c636561a1ab41066484cf9bcc97667f9
Federico Mena Quintero [Fri, 19 Oct 2012 16:35:22 +0000 (11:35 -0500)]
Merge master into places-sidebar to keep up with development
Petr Kovar [Fri, 19 Oct 2012 11:25:50 +0000 (13:25 +0200)]
Update Czech translation
Scott Moreau [Wed, 17 Oct 2012 02:38:41 +0000 (20:38 -0600)]
wayland: Update to reflect protocol changes
Fran Diéguez [Thu, 18 Oct 2012 08:53:55 +0000 (10:53 +0200)]
Update Galician translations
Matej Urbančič [Thu, 18 Oct 2012 06:16:39 +0000 (08:16 +0200)]
Updated Slovenian translation
Matthias Clasen [Thu, 18 Oct 2012 01:21:09 +0000 (21:21 -0400)]
Fix duplicate columns in filechooser entry completion
This partically reverts commit
331bba1ad6c5d9535fc5a827b91019f5824e25a7, which broke documented
behaviour.
Cosimo Cecchi [Wed, 17 Oct 2012 21:02:53 +0000 (17:02 -0400)]
menubutton: don't refer to the non-existant menu property
7c6454246e7fa181d9e16f3520bc6d3765168f40 removed the property, but
forgot to change the name in a g_object_notify().
Мирослав Николић [Wed, 17 Oct 2012 20:24:36 +0000 (22:24 +0200)]
Updated Serbian translation
Andika Triwidada [Wed, 17 Oct 2012 16:53:04 +0000 (23:53 +0700)]
Updated Indonesian translation
Daniel Mustieles [Wed, 17 Oct 2012 16:05:57 +0000 (18:05 +0200)]
Updated Spanish translation
Stefano Facchini [Wed, 17 Oct 2012 14:09:08 +0000 (16:09 +0200)]
level-bar: Fix typo
Cosimo Cecchi [Wed, 17 Oct 2012 04:59:59 +0000 (00:59 -0400)]
scrolledwindow: set GDK_EXPOSURE_MASK on the overshoot window
Currently we use gtk_style_context_set_background() when the state flags
change in order to propagate the background color to the overshoot
window, but this is actually only needed because the window doesn't get
expose events, since we always draw a full background in draw().
This also fixes some problems when the GdkWindow of the scrolled
window's child is composited, as seen in oxygen-gtk3.
https://bugzilla.gnome.org/show_bug.cgi?id=686265
Stefano Facchini [Tue, 18 Sep 2012 12:19:01 +0000 (14:19 +0200)]
level-bar: add support for RTL locales
https://bugzilla.gnome.org/show_bug.cgi?id=684288
Stefano Facchini [Tue, 18 Sep 2012 12:05:45 +0000 (14:05 +0200)]
level-bar: add an "inverted" property like GtkProgressBar
https://bugzilla.gnome.org/show_bug.cgi?id=684288
Stefano Facchini [Wed, 19 Sep 2012 11:33:26 +0000 (13:33 +0200)]
Add gdk version macros for 3.8
https://bugzilla.gnome.org/show_bug.cgi?id=684288
Ignacio Casal Quinteiro [Wed, 17 Oct 2012 12:07:31 +0000 (14:07 +0200)]
GtkMenuButton: remove menu property as it is replaced by popup.
See that it was already announced to be removed before 3.6.0
but we forgot.
Cosimo Cecchi [Tue, 16 Oct 2012 18:22:24 +0000 (14:22 -0400)]
cssshadowsvalue: handle gtk_css_value_transition returning NULL
The implementation of transition for GtkCssShadowValue can return NULL
at least when the two values have a different inset; all other parts of
the GTK/CSS machinery (e.g. GtkCssArrayValue) handle this by returning
NULL too. Instead, GtkCssShadowsValue was returning an invalid value,
where "len" was set, but some values in the array were NULL, which would
lead to a segfault when this value is later evaluated by the compute
function.
Fix this by making GtkCssShadowsValue return NULL if a shadow transition
fails, like GtkCssArrayValue does.
https://bugzilla.gnome.org/show_bug.cgi?id=686013
Cosimo Cecchi [Tue, 16 Oct 2012 17:02:55 +0000 (13:02 -0400)]
reftests: fix the linear-gradient reftest
Don't use a repeating linear gradient, since it can't be easily
reftested against a non-repeating one for the reasons described in the
test header.
Instead, add a separate test for repeating gradients (against another
repeating gradient).
This makes the test pass, so it can be added to the Makefile now.
Cosimo Cecchi [Tue, 16 Oct 2012 15:54:33 +0000 (11:54 -0400)]
cssshadow: plug a cairo_surface_t leak
We were never destroying the cairo surface we use for blurring, which
would lead to a huge leak.
https://bugzilla.gnome.org/show_bug.cgi?id=686209
Cosimo Cecchi [Tue, 16 Oct 2012 15:52:59 +0000 (11:52 -0400)]
csskeyframes: unref GtkCssValues when free-ing
We assume a reference to all the GtkCssValues we store, so we need to
release it when free-ing.
Cosimo Cecchi [Tue, 16 Oct 2012 15:51:54 +0000 (11:51 -0400)]
gradient: plug a GtkCssValue refleak
Since _gtk_symbolic_color_resolve_full() returns a reference to a
GtkCssValue.
Cosimo Cecchi [Tue, 16 Oct 2012 15:49:57 +0000 (11:49 -0400)]
csscomputedvalues: plug a refleak
_gtk_css_keyframes_compute() returns a reference to a GtkCssKeyframes,
and _gtk_css_animation_new() takes another reference.
Matthias Clasen [Tue, 16 Oct 2012 10:42:49 +0000 (06:42 -0400)]
bump version
Matthias Clasen [Tue, 16 Oct 2012 02:30:17 +0000 (22:30 -0400)]
3.6.1
Matthias Clasen [Tue, 16 Oct 2012 10:00:40 +0000 (06:00 -0400)]
Fix css parser tests
Parsing a shorthand background property was running into unexpected
errors when trying position values where there were none. To fix this,
introduce a try_parse variant of the position parse function that
silently returns NULL.
Matthias Clasen [Tue, 16 Oct 2012 02:47:30 +0000 (22:47 -0400)]
Fix 'make check'
Cosimo Cecchi [Mon, 15 Oct 2012 22:45:49 +0000 (18:45 -0400)]
appchooserwidget: check for g_app_info_should_show()
This ensures NoDisplay=true or NotShowIn/OnlyShowIn values in the
desktop file are respected.
Cosimo Cecchi [Mon, 15 Oct 2012 21:09:04 +0000 (17:09 -0400)]
a11y: fix private strict regression
Commit
0bbfcc249191026a1ee822545398ec6e5e36f7f4 added a private struct
for GtkImageAccessible, but forgot to call g_type_class_add_private().
Cosimo Cecchi [Mon, 15 Oct 2012 15:32:56 +0000 (11:32 -0400)]
a11y: fix the build
Fix a typo introduced in
0ad379708f79dbff916b1fcd431d3e3114bf8e25
Matthias Clasen [Mon, 15 Oct 2012 10:25:01 +0000 (06:25 -0400)]
Add private structs to all remaining headers
These are not used currently. Just put them in now in
case we need them in the future.
Matthias Clasen [Mon, 15 Oct 2012 10:04:11 +0000 (06:04 -0400)]
GtkWidgetAccessible: add a private struct
Move instance fields to a private struct, in preparation
for installing a11y headers.
This also required removing access to GtkWidgetAccessible innards
from several accessible implementations.
Matthias Clasen [Mon, 15 Oct 2012 09:56:41 +0000 (05:56 -0400)]
GtkTreeViewAccessible: add a private struct
Move instance fields to a private struct, in preparation
for installing a11y headers.
Matthias Clasen [Mon, 15 Oct 2012 09:52:04 +0000 (05:52 -0400)]
GtkToplevelAccessible: add a private struct
Move instance fields to a private struct, in preparation
for installing a11y headers.
This also required removing access to GtkToplevelAccessible innards
from the GtkWindowAccessible implementation.
Matthias Clasen [Mon, 15 Oct 2012 09:31:09 +0000 (05:31 -0400)]
GtkTextViewAccessible: add a private struct
Move instance fields to a private struct, in preparation
for installing a11y headers.
Matthias Clasen [Mon, 15 Oct 2012 01:21:34 +0000 (21:21 -0400)]
GtkTextCellAccessible: add a private struct
Move instance fields to a private struct, in preparation
for installing a11y headers.
Matthias Clasen [Mon, 15 Oct 2012 01:07:46 +0000 (21:07 -0400)]
GtkRendererCellAccessible: add a private struct
Move instance fields to a private struct, in preparation
for installing a11y headers.
This also required removing access to GtkRendererCellAccessible innards
from various cell accessible implementations.
Matthias Clasen [Mon, 15 Oct 2012 00:48:30 +0000 (20:48 -0400)]
GtkRadioMenuItemAccessible: add a private struct
Move instance fields to a private struct, in preparation
for installing a11y headers.
Matthias Clasen [Mon, 15 Oct 2012 00:18:57 +0000 (20:18 -0400)]
GtkRadioButtonAccessible: add a private struct
Move instance fields to a private struct, in preparation
for installing a11y headers.
Matthias Clasen [Mon, 15 Oct 2012 00:15:28 +0000 (20:15 -0400)]
GtkNotebookPageAccessible: add a private struct
Move instance fields to a private struct, in preparation
for installing a11y headers.
Matthias Clasen [Mon, 15 Oct 2012 00:09:58 +0000 (20:09 -0400)]
GtkNotebookAccessible: add a private struct
Move instance fields to a private struct, in preparation
for installing a11y headers.
Matthias Clasen [Mon, 15 Oct 2012 00:01:37 +0000 (20:01 -0400)]
GtkMenuItemAccessible: add a private struct
Move instance fields to a private struct, in preparation
for installing a11y headers.
Matthias Clasen [Sun, 14 Oct 2012 23:55:59 +0000 (19:55 -0400)]
GtkLinkButtonAccessible: add a private struct
Move instance fields to a private struct, in preparation
for installing a11y headers.
Matthias Clasen [Sun, 14 Oct 2012 23:51:14 +0000 (19:51 -0400)]
GtkLabelAccessible: add a private struct
Move instance fields to a private struct, in preparation
for installing a11y headers.
Matthias Clasen [Sun, 14 Oct 2012 23:43:47 +0000 (19:43 -0400)]
GtkImageCellAccessible: add a private struct
Move instance fields to a private struct, in preparation
for installing a11y headers.
Matthias Clasen [Sun, 14 Oct 2012 23:38:08 +0000 (19:38 -0400)]
GtkImageAccessible: add a private struct
Move instance fields to a private struct, in preparation
for installing a11y headers.
Matthias Clasen [Sun, 14 Oct 2012 20:06:08 +0000 (16:06 -0400)]
GtkIconViewAccessible: add a private struct
Move instance fields to a private struct, in preparation
for installing a11y headers.
Matthias Clasen [Sun, 14 Oct 2012 19:59:58 +0000 (15:59 -0400)]
GtkEntryAccessible: add a private struct
Move instance fields to a private struct, in preparation
for installing a11y headers.
Matthias Clasen [Sun, 14 Oct 2012 19:52:29 +0000 (15:52 -0400)]
GtkContainerCellAccessible: add a private struct
Move instance fields to a private struct, in preparation
for installing a11y headers.
This also required removing access to GtkContainerCellAccessible
innards from the GtkCellAccessible implementation.
Matthias Clasen [Sun, 14 Oct 2012 19:11:17 +0000 (15:11 -0400)]
GtkContainerAccessible: add a private struct
Move instance fields to a private struct, in preparation
for installing a11y headers.
This also required removing access to GtkContainerAccessible innards
from the GtkMenuItemAccessible implementation.
Stefano Facchini [Sun, 14 Oct 2012 09:53:15 +0000 (11:53 +0200)]
Matthias Clasen [Sun, 14 Oct 2012 06:47:22 +0000 (02:47 -0400)]
GtkComboBoxAccessible: add a private struct
Move instance fields to a private struct, in preparation
for installing a11y headers.
Matthias Clasen [Sun, 14 Oct 2012 06:40:20 +0000 (02:40 -0400)]
GtkBooleanCellAccessible: add a private struct
Move instance fields to a private struct, in preparation
for installing a11y headers.
Matthias Clasen [Sun, 14 Oct 2012 06:39:32 +0000 (02:39 -0400)]
GtkArrowAccessible: add a private struct
Move instance fields to a private struct, in preparation
for installing a11y headers.
Yuri Myasoedov [Sat, 13 Oct 2012 10:32:34 +0000 (14:32 +0400)]
Fixed Russian translation: Bug 646221
Benjamin Otte [Fri, 12 Oct 2012 15:45:11 +0000 (17:45 +0200)]
tests: Add test for latest bugfix
Benjamin Otte [Fri, 12 Oct 2012 15:36:28 +0000 (17:36 +0200)]
cssvalue: Print an error when failing to parse background-position
... in the case where a completely invalid value was used.
Patrick Welche [Wed, 10 Oct 2012 23:09:14 +0000 (00:09 +0100)]
test(1) uses '=' to test if strings are identical
https://bugzilla.gnome.org/show_bug.cgi?id=685996
Kjartan Maraas [Thu, 11 Oct 2012 18:52:47 +0000 (20:52 +0200)]
Updated Norwegian bokmål translation.
Piotr Drąg [Wed, 10 Oct 2012 20:40:58 +0000 (22:40 +0200)]
Updated POTFILES.skip